<%-- 
    Document   : intermediate
    Created on : 26-mar-2014, 11:53:57
    Author     : Juan
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <%@include file="../disenoWeb/title.html" %>
        <meta charset="utf-8">
        <%@include file="../disenoWeb/head.html" %>
        <script src="../disenoWeb/js/formulario.js" type="text/javascript"></script>	


    </head>
    <body id="page2">
        <div class="extra">
            <!--==============================header=================================-->
            <header>
                <%@include file="../disenoWeb/divHeader.jsp" %>
                <div class="menu-row">
                    <div class="menu-bg">
                        <div class="main">
                            <nav class="indent-left">
                                <ul class="menu wrapper">
                                    <%@include file="menuComparar.html" %>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </div>
                <div class="row-bot">
                    <div class="center-shadow">
                    </div>
                </div>
            </header>

            <!--==============================content================================-->
            <section id="content">
                <div class="content-bg">
                    <div class="main">
                        <%                            /* En funcion de la opcion elegida, 
                             el usuario tendra que elegir uno de los organismos disponibles de Kegg
                             o subir dos ficheros para la comparacion*/
                            String opcionElegida = (String) session.getAttribute("opcionElegida");
                            if (opcionElegida.equals("kegg")) {
                        %>

                        <h3>Network to compare with Kegg's Pathways <img width="30px" height="30px" src="../disenoWeb/images/information.png" alt="Information" onclick="javascript:informacionKegg();" /></h3>



                        <div id="informationKegg" style="display: none">The correct gene's nomenclature must be "entrez genes" (vertebrate animals) or "locus tag" (rest of organisms).</div>





                        <%
                        } else {%>
                        <h3>Networks to compare</h3>
                        <%

                            }

                        %>
                        <form action="takeFich.jsp" method="post" id="form_select_orgs" enctype="multipart/form-data">

                            <input type="file" name="file1" accept=".sif" required="required" placeholder="No" />

                            <%                                if (opcionElegida.equals("sif")) {
                            %>
                            <br />
                            <input type="file" name="file2" accept=".sif" required="required" />                           
                            <% }%>
                            <br />
                            <br />
                            <button type="submit" name="submit_archivo_obligatorio" value=" Aceptar ">Accept</button>
                        </form>

                    </div>
                    <div class="block"></div>
                </div>
            </section>
        </div>



        <!--==============================footer=================================-->
        <footer>
            <%@include file="../disenoWeb/footer.html" %>
        </footer>
        <script type="text/javascript"> Cufon.now();</script>
    </body>
</html>
